package demo3;

import java.io.Serializable;

/**
 * @description:
 * @author:Mr.Cat
 * @create:2021-11-23 13:47
 **/
public class Creature <T> implements Serializable {
    private char gender;
    private double weight;

    public void breath(){
        System.out.println("生物呼吸");
    }
    public void eat(){
        System.out.println("生物要吃东西");
    }
}

